package edu.gduf.controller;

import edu.gduf.dao.StudentDao;
import edu.gduf.domain.ResultInfo;
import edu.gduf.domain.Student;
import edu.gduf.service.PersonalShowService;
import edu.gduf.service.impl.InspectReportGenerateServiceImpl;
import edu.gduf.service.impl.SignInFormGenerateServiceImpl;
import edu.gduf.service.impl.publicity.FourthPublicityGenerateServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Demo Class
 *
 * @author 古市
 * @date 2020-05-27 18:42
 **/
@Controller
public class TestController {

    @Autowired
    private InspectReportGenerateServiceImpl service;


    @ResponseBody
    @RequestMapping("/test")
    public ResultInfo test(){
        List<String> list = new ArrayList<>();
        list.add("18154A225");
        ResultInfo resultInfo = service.fileGenerate(list);
        return resultInfo;
    }


}
